<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright 2011 KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: leaders.tpl 2011-03-09 01:11:30 idris $
 * @author     Idris
 */
?>
  
<?php $i = 0; ?>
<div class="kowcore-widget vote-widget">
  <?php foreach ($this->paginator as $item): ?>
  <?php $i++; ?>
    <div class="item place-<?php echo $i; ?>">
      <div class="photo">
        <?php echo $this->htmlLink($item->getHref(), $this->itemPhoto($item, 'thumb.icon'), array('class' => 'kow-tip-element', 'id' => rand() . '-' . $item->getGuid())); ?>
        <!-- used to preload images -->
        <?php echo $this->itemPhoto($item, 'thumb.profile', '', array('class' => 'hidden')); ?>
        <!-- end preload -->
      </div>
      <div class="right">
        <div class="title">
          <?php echo $this->htmlLink($item->getHref(), $item->getTitle(), array('class' => 'kow-tip-element', 'id' => rand() . '-' . $item->getGuid())); ?>
        </div>
        <div class="place" title="<?php echo $this->translate('%s place', $i); ?>" ></div>
        <div class="rate">
          <?php echo $this->objectRate($item, $this->canVote, 'small'); ?>
        </div>
        <div class="clr"></div>
      </div>
      <div class="clr"></div>
    </div>
  <?php endforeach; ?>
  <div class="clr"></div>
</div>